import { Directive, ElementRef } from '@angular/core';
import { FocusableOption } from '@angular/cdk/a11y';

@Directive({
    selector: '[appSurveyInput]'
})

export class SurveyInputDirective implements FocusableOption {
    constructor(private el: ElementRef) {

    }
    focus() {
        this.el.nativeElement.focus();
    }
}
